package com.icode.core.model.manage;

import com.icode.core.model.AbstractEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-3-18
 * Time: 上午11:10
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "investigate")
public class Investigate extends AbstractEntity {

    private String name;
    private String phoneNum;

    public Investigate() {
    }

    public Investigate(String name, String phoneNum) {
        this.name = name;
        this.phoneNum = phoneNum;
    }

    public String name() {
        return name;
    }

    public String phoneNum() {
        return phoneNum;
    }
}
